<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>星级阵地 - 新时代文明实践智慧服务系统</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background: #f5f5f5;
            overflow-x: hidden;
            padding-top: 44px;
            padding-bottom: 60px;
        }
        
        /* 顶部导航栏 */
        .navbar {
            background: linear-gradient(to bottom, #fce4ec 0%, #fff3e0 100%);
            color: #ff6b00;
            height: 44px;
            padding: 0 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(255,107,0,0.2);
        }
        
        .navbar-left {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }
        
        .back-btn {
            font-size: 18px;
        }
        
        .navbar-title {
            font-size: 16px;
            font-weight: bold;
        }
        
        .navbar-right {
            font-size: 18px;
            cursor: pointer;
        }
        
        /* 头部介绍区域 */
        .header-section {
            background: linear-gradient(135deg, #ffd54f 0%, #ffecb3 100%);
            padding: 30px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .header-section::before {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, transparent 70%);
            top: -100px;
            right: -50px;
            border-radius: 50%;
        }
        
        .header-content {
            position: relative;
            z-index: 2;
        }
        
        .header-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #ff6b00, #ffa726);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: white;
            margin: 0 auto 20px;
            box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
            position: relative;
        }
        
        .header-icon::after {
            content: '⭐⭐⭐⭐⭐';
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 16px;
            color: #ffd700;
        }
        
        .header-title {
            font-size: 24px;
            font-weight: bold;
            color: #ff6b00;
            margin-bottom: 10px;
        }
        
        .header-subtitle {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }
        
        /* 星级标准说明 */
        .standard-section {
            background: white;
            margin: 20px 15px;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        }
        
        .section-title {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .star-levels {
            display: grid;
            gap: 12px;
        }
        
        .star-level {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: #f8f9fa;
            border-radius: 12px;
            border-left: 4px solid transparent;
        }
        
        .star-level.five-star {
            border-left-color: #ffd700;
        }
        
        .star-level.four-star {
            border-left-color: #ffb347;
        }
        
        .star-level.three-star {
            border-left-color: #87ceeb;
        }
        
        .star-icon {
            font-size: 20px;
            min-width: 100px;
        }
        
        .star-desc {
            flex: 1;
        }
        
        .star-name {
            font-size: 14px;
            font-weight: bold;
            color: #333;
            margin-bottom: 3px;
        }
        
        .star-criteria {
            font-size: 12px;
            color: #666;
            line-height: 1.4;
        }
        
        /* 筛选栏 */
        .filter-section {
            background: white;
            margin: 0 15px 15px;
            border-radius: 16px;
            padding: 15px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        }
        
        .filter-tabs {
            display: flex;
            gap: 8px;
            overflow-x: auto;
        }
        
        .filter-tab {
            flex-shrink: 0;
            padding: 8px 15px;
            border-radius: 20px;
            background: #f0f2f5;
            font-size: 12px;
            color: #666;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }
        
        .filter-tab.active {
            background: linear-gradient(135deg, #ff6b00, #ffa726);
            color: white;
        }
        
        /* 星级阵地列表 */
        .venues-list {
            margin: 0 15px;
        }
        
        .venue-card {
            background: white;
            border-radius: 16px;
            margin-bottom: 15px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            cursor: pointer;
            overflow: hidden;
            position: relative;
        }
        
        .venue-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 107, 0, 0.15);
        }
        
        .venue-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            z-index: 2;
        }
        
        .star-badge {
            background: linear-gradient(135deg, #ffd700, #ffb347);
            color: #333;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 3px;
        }
        
        .venue-header {
            padding: 20px;
            background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,179,71,0.1));
        }
        
        .venue-name {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 8px;
        }
        
        .venue-type {
            background: linear-gradient(135deg, #fff3e0, #ffecb3);
            color: #ff6b00;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 11px;
            display: inline-block;
            margin-bottom: 10px;
        }
        
        .venue-honors {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .honor-tag {
            background: #f0f8ff;
            color: #1e90ff;
            padding: 3px 8px;
            border-radius: 10px;
            font-size: 10px;
            border: 1px solid #e6f3ff;
        }
        
        .venue-details {
            padding: 0 20px 20px;
        }
        
        .detail-item {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            font-size: 13px;
            color: #666;
        }
        
        .detail-icon {
            font-size: 14px;
            min-width: 20px;
        }
        
        .venue-features {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 15px 0;
        }
        
        .feature-tag {
            background: #f0f2f5;
            color: #666;
            padding: 4px 8px;
            border-radius: 8px;
            font-size: 11px;
        }
        
        .venue-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin: 15px 0;
        }
        
        .stat-item {
            text-align: center;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .stat-number {
            font-size: 16px;
            font-weight: bold;
            color: #ff6b00;
            margin-bottom: 3px;
        }
        
        .stat-label {
            font-size: 10px;
            color: #666;
        }
        
        .venue-actions {
            display: flex;
            gap: 10px;
            padding-top: 15px;
            border-top: 1px solid #f0f2f5;
        }
        
        .btn {
            flex: 1;
            padding: 8px 16px;
            border-radius: 20px;
            border: none;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #ff6b00, #ffa726);
            color: white;
        }
        
        .btn-secondary {
            background: #fff3e0;
            color: #ff6b00;
        }
        
        .btn:hover {
            transform: translateY(-1px);
        }
        
        /* 统计数据 */
        .stats-section {
            background: white;
            margin: 0 15px 20px;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .stats-card {
            text-align: center;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 12px;
        }
        
        .stats-icon {
            font-size: 24px;
            margin-bottom: 8px;
        }
        
        .stats-number {
            font-size: 18px;
            font-weight: bold;
            color: #ff6b00;
            margin-bottom: 5px;
        }
        
        .stats-label {
            font-size: 12px;
            color: #666;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            display: flex;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 100;
        }
        
        .nav-item {
            flex: 1;
            text-align: center;
            padding: 8px 0;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .nav-icon {
            font-size: 20px;
            margin-bottom: 2px;
        }
        
        .nav-label {
            font-size: 10px;
            color: #999;
        }
        
        .nav-item.active .nav-icon {
            color: #ff6b00;
        }
        
        .nav-item.active .nav-label {
            color: #ff6b00;
        }
    </style>
</head>
<body>
    <!-- 顶部导航栏 -->
    <div class="navbar">
        <div class="navbar-left" onclick="goBack()">
            <span class="back-btn">←</span>
            <span class="navbar-title">星级阵地</span>
        </div>
        <div class="navbar-right" onclick="showStarStandard()">
            ℹ️
        </div>
    </div>
    
    <!-- 头部介绍区域 -->
    <div class="header-section">
        <div class="header-content">
            <div class="header-icon">🏆</div>
            <div class="header-title">星级文明实践阵地</div>
            <div class="header-subtitle">
                展示经过专业评定的优秀文明实践阵地<br>
                为您提供最优质的服务和体验
            </div>
        </div>
    </div>
    
    <!-- 星级标准说明 -->
    <div class="standard-section">
        <div class="section-title">
            <span>📊</span>
            <span>星级评定标准</span>
        </div>
        <div class="star-levels">
            <div class="star-level five-star">
                <div class="star-icon">⭐⭐⭐⭐⭐</div>
                <div class="star-desc">
                    <div class="star-name">五星级阵地</div>
                    <div class="star-criteria">设施完善，服务优质，活动丰富，社会影响力强</div>
                </div>
            </div>
            <div class="star-level four-star">
                <div class="star-icon">⭐⭐⭐⭐</div>
                <div class="star-desc">
                    <div class="star-name">四星级阵地</div>
                    <div class="star-criteria">设施良好，服务规范，活动规模较大，群众满意度高</div>
                </div>
            </div>
            <div class="star-level three-star">
                <div class="star-icon">⭐⭐⭐</div>
                <div class="star-desc">
                    <div class="star-name">三星级阵地</div>
                    <div class="star-criteria">基础设施齐全，服务到位，定期开展活动</div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 筛选栏 */
    <div class="filter-section">
        <div class="section-title">
            <span>🔍</span>
            <span>筛选条件</span>
        </div>
        <div class="filter-tabs">
            <div class="filter-tab active" onclick="filterByStars(this, 'all')">全部</div>
            <div class="filter-tab" onclick="filterByStars(this, '5')">⭐⭐⭐⭐⭐</div>
            <div class="filter-tab" onclick="filterByStars(this, '4')">⭐⭐⭐⭐</div>
            <div class="filter-tab" onclick="filterByStars(this, '3')">⭐⭐⭐</div>
            <div class="filter-tab" onclick="filterByType(this, 'center')">实践中心</div>
            <div class="filter-tab" onclick="filterByType(this, 'station')">服务站</div>
            <div class="filter-tab" onclick="filterByType(this, 'square')">文化广场</div>
        </div>
    </div>
    
    <!-- 统计数据 -->
    <div class="stats-section">
        <div class="section-title">
            <span>📈</span>
            <span>阵地统计</span>
        </div>
        <div class="stats-grid">
            <div class="stats-card">
                <div class="stats-icon">⭐</div>
                <div class="stats-number">28</div>
                <div class="stats-label">星级阵地总数</div>
            </div>
            <div class="stats-card">
                <div class="stats-icon">🏆</div>
                <div class="stats-number">8</div>
                <div class="stats-label">五星级阵地</div>
            </div>
            <div class="stats-card">
                <div class="stats-icon">👥</div>
                <div class="stats-number">15,680</div>
                <div class="stats-label">累计服务人次</div>
            </div>
            <div class="stats-card">
                <div class="stats-icon">📅</div>
                <div class="stats-number">452</div>
                <div class="stats-label">举办活动次数</div>
            </div>
        </div>
    </div>
    
    <!-- 星级阵地列表 -->
    <div class="venues-list">
        <div class="venue-card" onclick="viewVenueDetail(1)">
            <div class="venue-badge">
                <div class="star-badge">
                    <span>⭐</span>
                    <span>五星级</span>
                </div>
            </div>
            <div class="venue-header">
                <div class="venue-name">海城区新时代文明实践中心</div>
                <span class="venue-type">实践中心</span>
                <div class="venue-honors">
                    <span class="honor-tag">全国示范中心</span>
                    <span class="honor-tag">省级优秀阵地</span>
                    <span class="honor-tag">群众满意单位</span>
                </div>
            </div>
            <div class="venue-details">
                <div class="detail-item">
                    <span class="detail-icon">📍</span>
                    <span>海城区文明路123号</span>
                </div>
                <div class="detail-item">
                    <span class="detail-icon">📞</span>
                    <span>0779-123456</span>
                </div>
                <div class="detail-item">
                    <span class="detail-icon">⏰</span>
                    <span>开放时间：08:00-22:00</span>
                </div>
                <div class="venue-features">
                    <span class="feature-tag">多功能报告厅</span>
                    <span class="feature-tag">图书阅览室</span>
                    <span class="feature-tag">文体活动室</span>
                    <span class="feature-tag">志愿者之家</span>
                </div>
                <div class="venue-stats">
                    <div class="stat-item">
                        <div class="stat-number">4.9</div>
                        <div class="stat-label">满意度</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-number">156</div>
                        <div class="stat-label">本月活动</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-number">2,340</div>
                        <div class="stat-label">服务人次</div>
                    </div>
                </div>
                <div class="venue-actions">
                    <button class="btn btn-secondary" onclick="event.stopPropagation(); bookVenue(1)">预约参观</button>
                    <button class="btn btn-primary" onclick="event.stopPropagation(); viewActivities(1)">查看活动</button>
                </div>
            </div>
        </div>
        
        <div class="venue-card" onclick="viewVenueDetail(2)">
            <div class="venue-badge">
                <div class="star-badge">
                    <span>⭐</span>
                    <span>五星级</span>
                </div>
            </div>
            <div class="venue-header">
                <div class="venue-name">西街社区文明实践站</div>
                <span class="venue-type">服务站</span>
                <div class="venue-honors">
                    <span class="honor-tag">市级示范站</span>
                    <span class="honor-tag">优秀服务团队</span>
                </div>
            </div>
            <div class="venue-details">
                <div class="detail-item">
                    <span class="detail-icon">📍</span>
                    <span>西街社区居委会2楼</span>
                </div>
                <div class="detail-item">
                    <span class="detail-icon">📞</span>
                    <span>0779-654321</span>
                </div>
                <div class="detail-item">
                    <span class="detail-icon">⏰</span>
                    <span>开放时间：09:00-21:00</span>
                </div>
                <div class="venue-features">
                    <span class="feature-tag">社区课堂</span>
                    <span class="feature-tag">健康咨询室</span>
                    <span class="feature-tag">儿童活动区</span>
                    <span class="feature-tag">老年服务中心</span>
                </div>
                <div class="venue-stats">
                    <div class="stat-item">
                        <div class="stat-number">4.8</div>
                        <div class="stat-label">满意度</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-number">89</div>
                        <div class="stat-label">本月活动</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-number">1,520</div>
                        <div class="stat-label">服务人次</div>
                    </div>
                </div>
                <div class="venue-actions">
                    <button class="btn btn-secondary" onclick="event.stopPropagation(); bookVenue(2)">预约参观</button>
                    <button class="btn btn-primary" onclick="event.stopPropagation(); viewActivities(2)">查看活动</button>
                </div>
            </div>
        </div>
        
        <div class="venue-card" onclick="viewVenueDetail(3)">
            <div class="venue-badge">
                <div class="star-badge">
                    <span>⭐</span>
                    <span>四星级</span>
                </div>
            </div>
            <div class="venue-header">
                <div class="venue-name">人民文化广场</div>
                <span class="venue-type">文化广场</span>
                <div class="venue-honors">
                    <span class="honor-tag">区级示范点</span>
                    <span class="honor-tag">文化活动基地</span>
                </div>
            </div>
            <div class="venue-details">
                <div class="detail-item">
                    <span class="detail-icon">📍</span>
                    <span>人民路与文化路交汇处</span>
                </div>
                <div class="detail-item">
                    <span class="detail-icon">📞</span>
                    <span>0779-789012</span>
                </div>
                <div class="detail-item">
                    <span class="detail-icon">⏰</span>
                    <span>开放时间：06:00-24:00</span>
                </div>
                <div class="venue-features">
                    <span class="feature-tag">演出舞台</span>
                    <span class="feature-tag">健身器材</span>
                    <span class="feature-tag">儿童游乐场</span>
                    <span class="feature-tag">文化长廊</span>
                </div>
                <div class="venue-stats">
                    <div class="stat-item">
                        <div class="stat-number">4.6</div>
                        <div class="stat-label">满意度</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-number">45</div>
                        <div class="stat-label">本月活动</div>
                    </div>
                    <div class="stat-item">
                        <div class="stat-number">3,200</div>
                        <div class="stat-label">服务人次</div>
                    </div>
                </div>
                <div class="venue-actions">
                    <button class="btn btn-secondary" onclick="event.stopPropagation(); bookVenue(3)">预约参观</button>
                    <button class="btn btn-primary" onclick="event.stopPropagation(); viewActivities(3)">查看活动</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 底部导航 -->
    <div class="bottom-nav">
        <div class="nav-item" onclick="location.href='index.html'">
            <div class="nav-icon">🏠</div>
            <div class="nav-label">首页</div>
        </div>
        <div class="nav-item active">
            <div class="nav-icon">⭐</div>
            <div class="nav-label">星级</div>
        </div>
        <div class="nav-item" onclick="location.href='activities.html'">
            <div class="nav-icon">📅</div>
            <div class="nav-label">活动</div>
        </div>
        <div class="nav-item" onclick="location.href='services.html'">
            <div class="nav-icon">🎁</div>
            <div class="nav-label">服务</div>
        </div>
        <div class="nav-item" onclick="location.href='profile.html'">
            <div class="nav-icon">👤</div>
            <div class="nav-label">我的</div>
        </div>
    </div>
    
    <script>
        // 返回上一页
        function goBack() {
            history.back();
        }
        
        // 显示星级标准说明
        function showStarStandard() {
            alert('星级阵地评定标准\n\n⭐⭐⭐⭐⭐ 五星级：\n• 设施设备完善\n• 服务质量优质\n• 活动内容丰富\n• 社会影响力强\n• 群众满意度≥95%\n\n⭐⭐⭐⭐ 四星级：\n• 设施设备良好\n• 服务规范到位\n• 活动规模较大\n• 群众满意度≥90%\n\n⭐⭐⭐ 三星级：\n• 基础设施齐全\n• 服务质量达标\n• 定期开展活动\n• 群众满意度≥85%');
        }
        
        // 按星级筛选
        function filterByStars(element, stars) {
            document.querySelectorAll('.filter-tab').forEach(tab => {
                tab.classList.remove('active');
            });
            element.classList.add('active');
            
            const cards = document.querySelectorAll('.venue-card');
            cards.forEach(card => {
                if (stars === 'all') {
                    card.style.display = 'block';
                } else {
                    // 这里可以根据星级进行筛选
                    card.style.display = 'block';
                }
            });
        }
        
        // 按类型筛选
        function filterByType(element, type) {
            document.querySelectorAll('.filter-tab').forEach(tab => {
                tab.classList.remove('active');
            });
            element.classList.add('active');
            
            const cards = document.querySelectorAll('.venue-card');
            cards.forEach(card => {
                // 这里可以根据阵地类型进行筛选
                card.style.display = 'block';
            });
        }
        
        // 查看阵地详情
        function viewVenueDetail(id) {
            alert(`查看星级阵地详情 ID: ${id}\n\n功能开发中...\n将显示：\n• 阵地详细介绍\n• 星级评定证书\n• 获奖荣誉展示\n• 活动案例\n• 服务数据统计`);
        }
        
        // 预约参观
        function bookVenue(id) {
            alert(`预约参观星级阵地\n\n预约流程：\n1. 选择参观时间\n2. 填写参观人数\n3. 提供联系方式\n4. 等待确认\n\n我们将为您提供专业的讲解服务`);
        }
        
        // 查看活动
        function viewActivities(id) {
            alert(`查看阵地活动安排\n\n即将开展的活动：\n• 文明实践大讲堂\n• 志愿服务培训\n• 文艺演出活动\n• 社区服务活动\n\n详细活动信息请查看活动页面`);
        }
        
        // 页面加载动画
        document.addEventListener('DOMContentLoaded', function() {
            const cards = document.querySelectorAll('.venue-card');
            cards.forEach((card, index) => {
                card.style.opacity = '0';
                card.style.transform = 'translateY(20px)';
                setTimeout(() => {
                    card.style.transition = 'all 0.5s ease';
                    card.style.opacity = '1';
                    card.style.transform = 'translateY(0)';
                }, index * 150);
            });
        });
    </script>
</body>
</html>